﻿@model SeagullConsulting.MvcAjaxControls.Data.Models.Person

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<table>
    <tbody>
        <tr>
            <td class="display-label">
                <b>FirstName</b>
            </td>
            <td class="display-field">
                @Html.DisplayFor(model => model.FirstName)
            </td>
        </tr>
        <tr>
            <td class="display-label"><b>LastName</b></td>
            <td class="display-field">
                @Html.DisplayFor(model => model.LastName)
            </td>
        </tr>
        <tr>
            <td class="display-label"><b>Address</b></td>
            <td class="display-field">
                @Html.DisplayFor(model => model.Address)
            </td>
        </tr>
        <tr>
            <td class="display-label"><b>City</b></td>
            <td class="display-field">
                @Html.DisplayFor(model => model.City.Name)
            </td>
        </tr>
    </tbody>
</table>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.Id }) |
    @Html.ActionLink("Back to List", "ListPage")
</p>
